package com.sq.partner.manager.service.credit;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import com.sq.partner.manager.mybatis.model.CreditProduct;
import com.sq.partner.manager.mybatis.model.CreditRisk;
import com.sq.partner.manager.mybatis.model.NlifeProd;
import com.sq.partner.manager.mybatis.model.NlifeRisk;
import com.sq.partner.manager.mybatis.model.TradProdPlan;
import com.sq.partner.manager.util.Page;

public interface CreditProductService {

	public TradProdPlan saveProd(CreditProduct credit) throws Exception;
	
	public boolean updateProd(CreditProduct credit) throws Exception;
	
	public void deleteProd(String prodCode) throws Exception;
	
	public CreditProduct findProdInfoById(String prodCode) throws SQLException;
	
	public Page<CreditProduct> queryPage(Page<CreditProduct> page) throws SQLException;
	
	/**导出产品产品查询*/
	public List<CreditProduct> impCreditProd(Map<String, Object>map) throws Exception;
	/**导出产品险种查询*/
 	public List<CreditRisk>  impCreditRisk(Map<String, Object> map)throws Exception;
}
